<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<title>PC功能树</title>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<script type="text/javascript" src="../../common/miniuiInit.js"></script>
		<script type="text/javascript" src="../../common/common.js"></script>
		<script type="text/javascript" src="seluPost.js"></script>
		<style>
			body {
				margin: 0;
				padding: 0;
				border: 0;
				width: 100%;
				height: 100%;
				overflow: hidden;
			}
			
			.tdRight {
				padding-right: 15px;
			}
			
			ul {
				width: 100%;
				height: 100%;
				list-style: none;
				/*border-left:1px dotted #ccc;*/
				padding: 0;
				margin: 0px;
			}
			
			#subSplit .mini-panel-border {
				border: none;
			}
			
			li {
				height: 30px;
				line-height: 30px;
			}
			
			li:hover {
				background: #e7e7e7;
			}
			
			#def_ul_myrole a:hover {
				text-decoration: none;
				font-size: 14px;
			}
			
			a:focus {
				outline: none;
			}
			
			#grid .mini-panel-title {
				width: 100%;
			}
		</style>
	</head>

	<body>
		<div class="mini-splitter" style="width:100%;height:100%;">
			<div size="50%" style="padding:5px;overflow:auto;">
				<ul id="OrgTree" class="mini-tree" style="width: 100%; height: 100%;" showTreeIcon="true" textField="orgName" idField="orgId" value="" onNodeclick="OrgTreeselected" contextMenu="#treeMenu" expandOnLoad="false">
				</ul>
			</div>
			<div style="padding:5px;overflow:auto;">
				<div id="subSplit" class="mini-splitter" vertical="true" style="width:100%;height:100%;">
					<div size="70%">
						<div class="mini-toolbar" style="border:none;margin:0px;text-align:right;">
							<a id="addBtn" class="mini-button" iconCls="icon-ok" onclick="selPost">确定</a>
						</div>
						<div class="mini-fit">
							<div id="grid" title="岗位列表" showHeader="true" class="mini-datagrid" style="width:100%;height:100%;" url="orgDutyPostView!pageList.do" idField="spId" onload="onGridLoad" onselectionchanged="gridclick" allowUnselect="true" allowResize="true" multiSelect="true" sizeList="[10,20,50,100]" pageSize="10" pageIndexField="page" pageSizeField="rows" dataField="rows">
								<div property="columns">
									<div type="indexcolumn" width="40" headerAlign="center">No.</div>
									<div type="checkcolumn"></div>
									<div field="postName" width="50%" headerAlign="center" allowSort="true">岗位名称</div>
									<div field="dutyName" width="50%" headerAlign="center" allowSort="true">所属职务</div>
								</div>
							</div>
						</div>
					</div>
					<div id="PostSelected"></div>
				</div>
			</div>
		</div>
	</body>

</html>